﻿using System;
using System.Collections.Generic;

namespace Rj.PersonnelVerification.Server.DataBaseContext.Entities
{
    /// <summary>
    /// 门诊外配处方
    /// </summary>
    public partial class MzysTbWpcf
    {
        /// <summary>
        /// 主键 处方ID
        /// </summary>
        public long Id { get; set; }
        /// <summary>
        /// 挂号流水号
        /// </summary>
        public long RegNo { get; set; }
        /// <summary>
        /// 就诊流水号
        /// </summary>
        public long ReceptionNo { get; set; }
        /// <summary>
        /// 患者ID
        /// </summary>
        public int PatientId { get; set; }
        /// <summary>
        /// 开方科室ID
        /// </summary>
        public int DeptId { get; set; }
        /// <summary>
        /// 开方医生ID
        /// </summary>
        public int WorkerId { get; set; }
        /// <summary>
        /// 开方时间
        /// </summary>
        public DateTime RecipeTime { get; set; }
        /// <summary>
        /// 处方序号
        /// </summary>
        public int RecipeNum { get; set; }
        /// <summary>
        /// 打印标记
        /// </summary>
        public bool PrintFlag { get; set; }
        /// <summary>
        /// 院区ID
        /// </summary>
        public int HospitalId { get; set; }
        /// <summary>
        /// 有效状态 1有效 0无效
        /// </summary>
        public bool? Status { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public int CreateBy { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
    }
}
